package fun.easycode.webterminal.service;

import fun.easycode.webterminal.common.contract.PageDTO;
import fun.easycode.webterminal.common.contract.R;
import fun.easycode.webterminal.service.cmd.ProxyTransformPageQry;
import fun.easycode.webterminal.service.cmd.ProxyTransformSaveCmd;
import fun.easycode.webterminal.service.dto.ProxyTransformDTO;

public interface ProxyTransformService {
    R<String> delete(String id);

    R<ProxyTransformDTO> getById(String id);

    R<PageDTO<ProxyTransformDTO>> page(ProxyTransformPageQry cmd);

    R<String> save(ProxyTransformSaveCmd cmd);

    R<String> start(String id);

    R<String> stop(String id);
}
